#ifndef HTMLFORM_H
#define HTMLFORM_H

#include <QtGui/QWidget>
#include <QFileDialog>
#include <QColorDialog>
#include <QMessageBox>
#include <QDomText>
#include <QLabel>

namespace Ui {
    class htmlForm;
}

class htmlForm : public QWidget {
    Q_OBJECT
public:
    htmlForm(QWidget *parent = 0);
    ~htmlForm();

    bool html83format();
    bool htmlCss();
    bool htmlColors();
    bool htmlFilesLinks();
    bool htmlFoldersLinks();
    int getHtmlOutputFormat();
    QString getCssFile();

    QString getHeaderColor();
    QString getHeader2Color();
    QString getTextColor();
    QString getLinkColor();
    QString getHexColorValue( QLabel * );
    QString getStyleSheetValue( QString  );

protected:
    void changeEvent(QEvent *e);

private:
    Ui::htmlForm *m_ui;

private slots:
    void on_linkButton_clicked();
    void on_textButton_clicked();
    void on_header2Button_clicked();
    void on_headerButton_clicked();
    void on_toolButton_clicked();
};

#endif // HTMLFORM_H
